[#ftl]
[#macro printTail scripts=""][#--打印尾--]
<script>
	var contextPath = '${basePath}'; [#--全局路径--]
</script>
[#list scripts as script]
${'<script src="' + '${script?trim}' + '"> </script>'}
[/#list]
</body>
</html>
[/#macro]